package com.me.blood.frag;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.me.blood.R;
import com.me.blood.databinding.DlgRightBinding;
import com.me.utils.Utils;


public class RightDlg extends FullScreenDlg {

    DlgRightBinding binding;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        binding = DlgRightBinding.inflate(inflater, container, false);
        binding.cancel.setOnClickListener(view -> dismiss());
        binding.ok.setOnClickListener(view -> dismiss(true, null));

        String str = getString(R.string.privacy_content);
        Utils.setClickableText(binding.tv, str);

        return binding.getRoot();
    }
}
